package com.dc.bobaoge.project.base.core.old.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dc.bobaoge.project.base.core.old.entity.OldCoreMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * OldCoreMessageMapper
 *
 * @author chenxueli
 * @date 2023-12-22 13:10:00
 */
@Mapper
public interface OldCoreMessageMapper extends BaseMapper<OldCoreMessage> {


    /**
     * 设置自增id
     *
     * @param maxId id
     */
    void setAutoIncrement(@Param("maxId") Long maxId);

    /**
     * 获取最大id
     *
     * @return 最大id
     */
    Long getMaxId();


}
